Use make_lowmem_page_readonly/writable() in preference to the
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 14 Nov 2005 17:13:38 +0000 (18:13 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 14 Nov 2005 17:13:38 +0000 (18:13 +0100)
commit7355824f5671ab6cf4584fe227d016f83e19b8ef
treec2e7a9bc0f7279d2a8d6141ab71d831cbdc54805
parent8cfa8e2fbe4c9a1200ba7307a416afcb6fbf79ce
Use make_lowmem_page_readonly/writable() in preference to the
generic functions where appropriate. This prevents us using the
generic functions early during boot, when pte_pfn() does not work
(because max_mapnr is not initialised).

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/cpu/common.c
linux-2.6-xen-sparse/arch/xen/i386/mm/init.c
linux-2.6-xen-sparse/arch/xen/i386/mm/pgtable.c
xen/arch/x86/mm.c